package com.njlime.cms.repository.app;

import com.njlime.cms.entities.InformationComment;
import com.njlime.core.helper.PageBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by Dean on 2017-10-10.
 */
public interface AppInformationCommentDao extends JpaRepository<InformationComment, Integer>,JpaSpecificationExecutor<InformationComment> {
    int saveComment(InformationComment informationComment);
    PageBean list(PageBean pageBean, InformationComment comment);
    void fabulousNumUpdate(Integer id, int num);
}
